package com.zhanglijie.base.sync.Lock;

import lombok.Data;

/**
 * @author zhanglijie
 * @version 1.0
 * @since 1.1.0 2022/6/8 0008 23:22
 */
@Data
public class ObjectWaiter {
    private Thread wait;

    public Thread getWait() {
        return wait;
    }

    public void setWait(Thread wait) {
        this.wait = wait;
    }

    public ObjectWaiter(Thread thread){
        this.wait = thread;
    }
}
